package com.zhai.domain.strategy.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Description: 策略奖品实体
 * @ClassName: StrategyAwardEntity
 * @Author: zhaiyongxin
 * @Date: 2024/12/31 11:19
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyAwardEntity {

    /** 抽奖策略ID*/
    private Long strategyId;
    /** 抽奖奖品ID*/
    private Integer awardId;
    /** 抽奖奖品标题*/
    private String awardTitle;
    /** 抽奖奖品副标题*/
    private String awardSubtitle;
    /** 奖品库存总量*/
    private Integer awardCount;
    /** 奖品库存剩余*/
    private Integer awardCountSurplus;
    /** 奖品中奖概率*/
    private BigDecimal awardRate;
    /** 规则模型*/
    private String ruleModels;
    /** 排序 */
    private Integer sort;
}
